<h3><?php print WP_OCTOMS_TITLE;?> Tips</h3>
<?php if (is_array($this->v('data'))):?>
	<div class="tips">
		<div class="prev"></div>
		<?php foreach ($this->v('data') AS $tip):?>
			<div class="tip"><?php print $tip;?></div>	
		<?php endforeach;?>
		<div class="next"></div>
	</div>
	<p style="text-align:center">These tips are delivered via the <a href="<?php print baseurl('the_framework/about/privacy#personal');?>">DesignJotter API</a> to continuously improve your experience.</p>
	<?php octoms('template',OMS_L)->ga($this->v('ga'),array('theme'=>WP_OCTOMS_TITLE,'version'=>WP_OCTOMS_VERSION));?>
<?php else:?>
	<p><?php print $this->v('data');?></p>
	<?php if(!$this->v('first')):?>
	
	<?php print 
				formx().
				input(
					'hidden',
					'get_tips',
					true
				).
				submit(
					'Get tips',
					null,
					array(
						'key'=>'g'
					)
				).
				form(true);
	?>
	<?php else:?>
	<script type="text/javascript">
	<!--
	jQuery(document).ready(function(){
		$=jQuery;
		wp_octoms.xform(
		    {get_tips:true},
		    $('.admin-right')
		);
	});
	//-->
	</script>
	<?php endif;?>
<?php endif;?>